/*
 *    Document   : StVideoAula
 *    Created on : 05/03/2013, 11:51:34
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */

Ext.define('FC.model.StVideoAula',{
    extend: 'Ext.data.Model'
    
    ,fields:[
        {name:'id',type:'int'}
        ,{name:'dscStVideoAula',type:'string'}
        ,{name:'qntDisciplinas',type:'int'}
        ,{name:'qntVideoAula',type:'int'}
        ,{name:'qntTotal',type:'number'}
        ,{name:'vlrUnit',type:'number'}
        ,{name:'vlrFinal',type:'number'}
        ,{name:'indicacoesParametros', type:'string'}
    ],

    validations:[
       {type:'presence', field:'qntDisciplinas'}
       ,{type:'presence', field:'qntVideoAula'}
       ,{type:'presence', field:'vlrUnit'}
    ]    
    
    
    
});